<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>开发者注册</title>
    <link rel="stylesheet" href="{{asset('admin/css/reg_login.css')}}">
</head>
<body>
<header>
    <div class="header-line"></div>
</header>
<div class="content">
    <img class="content-logo" src="{{asset('admin/img/login.png')}}" alt="logo">
    <h1 class="content-title">创建账户</h1>
    <div class="content-form">
        <form method="post" action="{{url('charge/reg_post.html')}}">
            <div id="remind_2">{{$reg_msg or ''}}</div>
            @if(count($errors))
                <div id="remind_2">{{$errors->all()[0]}}</div>
            @endif
            <div id="remind_2">{{session('yzm_error')}}</div>
            {{csrf_field()}}
            <div id="change_margin_1">
                <input class="user" type="text" name="email" placeholder="请输入电子邮箱" />
            </div>

            <div id="change_margin_1">
                <input class="user" type="text" name="name" placeholder="请输入昵称" />
            </div>

            <div id="change_margin_2">
                <input class="password" type="password" name="password" placeholder="请输入密码" />
            </div>

            <div id="change_margin_1">
                <div class="yam">
                    <input class="user" type="text" name="yzm"  placeholder="请输入验证码" />
                </div>
                <img  title="点击刷新" src="{{url('charge/yzm.html')}}" onclick="this.src='{{url('charge/yzm.html')}}?'+Math.random();">
            </div>

            <div id="change_margin_3">
                <input class="content-form-signup" type="submit" value="创建账户">
            </div>


        </form>
    </div>
    <div class="content-login-description">已经拥有账户？</div>
    <div><a class="content-login-link" href="{{url('charge/login.html')}}">登录</a></div>
    <div class="footer">
        &copy;2017. 随心物联. All Rights Reserved.
    </div>
</div>

</body>
</html>